package io.gitee.oss.helper.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import static io.gitee.oss.helper.constants.ConfigPrefixConst.OSS_HELPER_PREFIX;

/**
 * OSS Helper 配置
 * <p>
 * Copyright © 2023 shenzizai All Rights Reserved
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = OSS_HELPER_PREFIX)
public class OssHelperProperties {

    /**
     * 对象存储模式 可选 minio、aliyun
     */
    private String mode;

    /**
     * 节点
     */
    private String endpoint;

    /**
     * ak
     */
    private String accessKey;

    /**
     * sk
     */
    private String secretKey;
}
